package com.wkbb.common.dto.common;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 *  redis key value 配置
 */
@ApiModel(value = "RedisPropDto", description = "redis 键值对")
public class RedisPropDto implements Serializable {

   

    /**
	 * 
	 */
	private static final long serialVersionUID = -6849958566942750460L;

	@ApiModelProperty(value = "key" )
    private String key;
    
    @ApiModelProperty(value = "value" )
    private Object value;

    public RedisPropDto() {
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object val) {
        this.value = val;
    }
    
    @Override
    public String toString(){
        return "{key:" + key + ", value:" + value + "}";
    }
}

